package com.hibase.core.page.entity.editxml;


import com.hibase.core.page.entity.listxml.ListButtonXmlVO;
import com.hibase.core.page.entity.listxml.ListButtonsXmlVO;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import lombok.Data;

import java.util.List;

/**
 * 描述:
 *
 * @author li-wei-hua
 * @date 2021-03-23 17:47
 */
@Data
public class EditLayoutXmlVO {


    @XStreamAsAttribute
    @XStreamAlias("id")
    private String id;

    @XStreamAsAttribute
    @XStreamAlias("title")
    private String title;

    @XStreamAsAttribute
    @XStreamAlias("requestUrl")
    private String requestUrl;

    @XStreamAlias("buttons")
    private ListButtonsXmlVO button;

    @XStreamOmitField
    private List<ListButtonXmlVO> buttons;

    @XStreamImplicit(itemFieldName = "cardLayout")
    private List<CardLayout> cardLayout;

}
